<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport"
	      content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>Routes</title>
	<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
	      integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
	
	<style>
        table {
            width: 800px !important;
            margin: 120px auto auto;
        }
	
	</style>
</head>
<body>


<table class="table table-bordered table-striped table-condensed">
	<tr>
		<th>请求方法</th>
		<th>请求路径</th>
		<th>本次运行被请求次数</th>
	</tr>
	{{ range .routes }}
	<tr>
		<td>
			{{ .method }}
		</td>
		<td>
			{{ .url }}
		</td>
		<td>{{ .num }}</td>
	</tr>
	{{ end }}
</table>

</body>
</html>